package controller

import (
	"xinyu/model"
	"xinyu/repository"
	"xinyu/service"
)

var (
	TestController = testController{}
)

func InitController() {
	TestController = testController{
		Srv: &service.TestService{
			Repo: &repository.TestRepo{
				DB: model.DB,
			},
		},
	}
}
